package com.example.tass.domain;

import cn.tass.exceptions.TAException;

public class MyExportKeyPairCertRequest extends MyBaseRequest{
    private String keyId;
    private int certType;

    public MyExportKeyPairCertRequest() {
    }

    public String getKeyId() {
        return this.keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public int getCertType() {
        return this.certType;
    }

    public void setCertType(int certType) {
        this.certType = certType;
    }

    public void validate() throws TAException {
        this.checkParamIsEmpty(this.keyId, "keyId");
    }
}
